package cn.liuxiany.alibaba.common.exception;

/**
 * @Description 系统异常类
 * @Author liuxiany
 * @Date 2023/10/31
 */
public class SystemException extends GenericException {
    private static final long serialVersionUID = 1;

    public SystemException(String message) {
        super(message);
        this.expMessage = message;
    }

    public SystemException(String expCode, String message) {
        super(message);
        this.expCode = expCode;
        this.expMessage = message;
    }

    public SystemException(Exception oriEx) {
        super(oriEx);
    }

    public SystemException(Throwable oriEx) {
        super(oriEx);
    }

    public SystemException(String message, Exception oriEx) {
        super(message, oriEx);
        this.expMessage = message;
    }

    public SystemException(String message, Throwable oriEx) {
        super(message, oriEx);
        this.expMessage = message;
    }
}